I’m unsure if you can upgrade a trial version, but I don’t see why not - do wait for someone to answer this.
Having said that, since your question is generic, you can start with the concepts and documentation -
- Supported Upgrade Paths (link) - your path is supported, but I’ve provided the link for completeness
- Pre-Upgrade Analyzer (link)
- Upgrade Documentation for all products - (link).
- A brief write-up that gives you the big picture (link)
KM