It must be a state issued ID, passport, military ID, or driver's license
Is it a government ID card or military ID? Unless it's official like that, probably not.
You may get in but probably not served alcohol. I guess it depends on the type of photo id you are using
Thanks! Your answer is awaiting moderation.