It sure is. As you tighten the bolt, the friction on the threads increases, which prevents you from tightening it any further.
The grease helps fight that friction, so you can continue tightening the bolt.
The same is true of your cog and anything else that is threaded.