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)
Gateway Performance Optimization R81.20 Course
now available at maxpowerfirewalls.com