My wife and I do that frequently and completely anonymously here in Nashville when we see soldiers dining. We get some Ft Campbell lads out on the town and a few other battalions scattered about at local armories or kids from other units home on leave. I also grant discounts at my self storage place to military families and freebies at my car washes and I know other business folks who do the same. It's the proper thing to do. I cannot imagine anyone around here refusing service unless there were problems with specific issues. I must confess that once in Orangestaad Aruba I saw a Brit naval vessel crew come ashore and wreak complete hooliganism havoc until the local cops and some Dutch SF guys from a camp nearby could take control. The Brit officers seemed not to care in the least. Am I mistaken to believe that US officers would not tolerate wilding by their enlisted men? Someone can correct me.
Boat sailors or as most people say, sub sailors can usually wreak havoc on a port-of-call with little or no discipline expected. :-)
They are given some latitude because they serve on submarines.....i.e. tough duty.
Don't know about the rest of the Navy or military.