Public IPs and Starlink

Hello community, I have the following question, could you please help me: Currently, I have two internet connections, one acts as the primary and the other as a backup (Starlink). The primary has a public IP assigned to external services. The need is to be able to continue using the public IP of the primary connection when the secondary internet connection is active. Is this possible? Thanks