Not side by side as you must publish all changes before being able to perform a gateway installation, but you can do all of that within the same session. Order would be:
1) Login and be granted Session-ID
2) Add Host Object
3) Publish Changes
4) Install policy to gateway
5) Logout session to de-allocate Session-ID. (Very important to not forget this, otherwise if there are too many Session-IDs left hanging around waiting to be idled out it can cause various issues)
Attend my 60-minute "Be your Own TAC: Part Deux" Presentation
Exclusively at CPX 2025 Las Vegas Tuesday Feb 25th @ 1:00pm