Yes, you can actually assign two IP addresses to one VM (with some restrictions) by creating instances with multiple network interfaces.
However, there are some limitations, For example:
Each network interface designed in a single instance should be connected to a distinct VPC network.
You can solely set up network interfaces once you create the instance.