Currently, it’s impossible to have them grouped as you want, but look how I am grouping them right now to achieve something similar:

You can create them by using command:
strapi generate:api order --api=shop
It creates individual files like controller, services, models and appends the newly created routes into routes.json
Note: in that case, I have a single routes.json file.