Can You Mark Your Golf Ball with a Gnome?

Can You Mark Your Golf Ball with a Gnome?

Or can you only mark your ball with a coin or ball marker? Good to know the rules….