Yes, you can create a shortcut using the Shortcuts app to automate rebooting when your iPhone 14 is connected to a charger.