You can use a stub file for the migration file creation and then run 'artisan migrate'.
Here is a package that makes stub customization easy: https://laravel-news.com/laravel-stub
I will not judge if letting the user trigger a table creation is a good practice or not... it is not.