There are about 6-9 third party iOS, DAWs in the iOS App Store.
A bunch of rhythm sequencers in the iOS App Store and lots of software instrument apps in the iOS App Store, too!
Steinberg has a DAW for iOS called Cubasis, based upon Cubase.
You will need to use a portable USB-C hub that plugs into your iPad and you will need to purchase a USB-C to MIDI cables, as well.
Lots of makers of these hubs and cables and of varying quality and different price points.
Much of this music related hardware for iPads/iPhones can be found on Amazon.
I can't make any recommendations for iPad music creation gear as everyone's needs and price points are different.
Some externally connected music gear will need to be powered from its own external power adapters.
iPad’s own internal power is not powerful enough to power many external audio devices
Yes, the iPad/iPad Pro can be used for music creation/production.
You can't expect everyone to post this info for you step by step and every single piece of music/audio equipment needed.
You really need to figure this out for yourself and your own needs, like every other musician had to do, to use an iPad for music creation.
My own iPad music setup may NOT be a setup for YOU and your needs.
It probably won't be as I use an older model iPad Pro that uses Apple's Lightning connector and not USB-C.
For more info about all of this, I would start by searching YouTube videos about how to accomplish all of what you want to do to create music using an iPad.
Best of Luck to You!