Hi there, welcome! It is always possible to go back to Stock OS whenever you want, and installing GrapheneOS doesn't affect your phone's warranty.
I would recommend using Windows for the installation, although Ubuntu can be used to, make sure to follow the guide and it shouldn't be an issue!
If you do need any help with the installation, feel free to make a post here, or join our Matrix rooms for real-time support by the community.