You can test your private app on your private iPhone, without a paid dev account.
Go to Xcode --> signing and capabilities
In Team --> Add an account.
Add your Apple ID (free to create, I assume you already have one for your iPhone).
And from then on you can use your personal team to create your app and test on your personal iPhone (you will need to allow apps from your appleID as shown above).
Good luck!