Yes, it is possible to do a normal pagination over the database with a max limit. You can use the take method to limit the number of rows returned by the query, and then use the paginate method to paginate the results.
Here's an example code snippet that limits the query to the first 1000 rows and paginates them by 25:
$items = DB::table('my_table')
->orderBy('created_at', 'desc')
->take(1000)
->paginate(25);
In this example, my_table is the name of the table you want to paginate, and created_at is the column you want to order the results by. You can replace these with the appropriate values for your use case.
Note that the take method limits the number of rows returned by the query, so it's important to order the results before calling take. If you don't order the results, you may get unexpected results.
Also, keep in mind that limiting the query to the first 1000 rows may not be the most efficient way to paginate large datasets. If you have a very large table, you may want to consider using a more advanced pagination technique, such as cursor-based pagination.