Yes, it is feasible to execute iOS within a virtual machine.
Yes, it is feasible to execute iOS within a virtual machine.
You can deploy macOS on a virtual machine and launch the iOS simulator from Xcode.
The iOS Simulator with Xcode doesn't match a real device and can't run apps from the app store as smoothly. Working push notifications are still emerging there. Be aware of other constraints, and check Apple's developer guides. Executing genuine iOS in a VM is likely impossible because of Apple's restrictions.
Only devices with more than 4GB of RAM support this. With an app named UTM, you can execute virtual machines from the ALT store. You’ll need to sign the app certificate using your Apple developer ID. Snazzy Labs has a video explaining it here. Let me know if you need further help.