Thanks for posting here in the Google Nest Community.
Good question. Yes, this should work as the required voltage for Nest Doorbell (wired) is 16 to 24 V AC North America and 12 to 24 V AC Globally. For power its 10 to 40 VA (North America) and 8 to 40 VA (Global).
You can check this helpful link for more details.
Hope this helps.