A 50Hz transformer will happily run at 60Hz with minimal change in efficiency (it may be positive or negative, depending on the transformer design compromises).
Then again, connecting whatever transformer to whatever inverter is usually not very good idea.
Cheap inverters tend to generate square-ish wave rich in harmonics (higher frequencies) that may heat the transformer core. Even if the transformer is OK with this, the load that expects AC may not like the square AC either.
Inverters (even the more expensive "pure sine wave" type) may not like the inductive character of the transformer or its not-so-mild transient behavior on power-on. The inverter may shutdown (or even get damaged) in response to the transformer startup current.
And finally, all these problems are solvable, but the whole idea doesn't look very much efficient. 12V sources tend to be limited in available energy and the energy from them is expensive in the first place.
You may get better result by powering whatever needs these 16V by other means.