I have Minecraft on my phone
Play it in an emulator right away.
Of course it works, the other question is whether it works well.
Yes, and you don't need a PC if your device supports USB-C hubs and includes the corresponding drivers.
Have an IOS cell phone.
I have to buy an extra connection that supports C for IPhone and then connect it with a keyboard
Yes, because Apple doesn't provide for that.