Yes, you can use any acidic liquid to deglaze pans. Vinegar or wine are often used for doing so but prosecco will work just as well.