Using geolocation through the snappy module?

Is it possible for me to use the geolocation through the snappy module? My aim is to eventually perform image alignment of sentinel products.

In this post I explained how to get latitude and longitude values from a product:

Dear @marpet, do you by any chance know what is the difference between collocation and coregistration in SNAP? Which one of these functions is actually performing image registration between two products?