I do not know whether buddhist precept make you feel like you are in jail or not.
If we have a duality mindset, we will have a concept of right is always right. Wrong is always wrong.
But reality is not like that. One thing can be right, can be wrong, can be neutral, can be half right, can be half wrong, can be anything. You claim it, you get it.
Reality cannot be describe. That is why whatever you describe, it is not absolute. It is relative, relative to your opinion.
Regarding drinking beer, I do not know whether you ever read the life history of Milarepa, the great yogic of TIbet. His teacher, Marpa, drinks beer on many occasion. It doesn't matter.
If you read another Indian buddhist mahasiddha called Tilopa. He stayed at the bank of river and eat fish. He kills the fish and eat the meat. He even worked in the prostitute house.
A lot of their actions seems breaking all buddhist vows. If we take the buddhist vows literally, definitely it breaks it. But, what is the use of that vows? It is to guide us to see realize reality.
The action of killing is considered bad. This itself is not true. There is nothing can be absolute true or not. Reality is free from wrong or right. In previous Siddharta Gautama life, he has to killed 1 person in the ship, because that person wanted to kill all passengers in the boat. His motivation is by killing this guy, he will be saved from his sins killing so many people. Killing 1 person will already give you bad karma. So, killing around 499 persons, definitely it will be much heavier. But because of his compassion to save this guy from experiencing bad karma, this killer get a lot of good karma. The story is action is free from anything. It is the motivation that determine, whether it is good or bad.
There is a debate about the issue of drinking beer. Some people say if you drink beer, but you don't get drunk, it is ok. Some people say you cannot drink no matter what is the reason.
In my personal opinion, I do not agree with all these. In any situation, no matter how sinful it looks like, if we are skillful that situation can become our best method of enlightnment. Similarly, no matter how good the situation is, if we are unskillful, that situation can send us to the hell.
If you drink a beer and you are mindful and you are really mindful to understand the essenceless of the joy from drinking your beer (for example), in my opinion you are very skillful in developing your understanding of wisdom. In my opinion, it is wholesome.
Even though you drink until you want to get drunk or vomit and if you still can be mindful and from that vomitting and mindfulness you can experience directly the essenceless of all this activity, it is a good technique to learn buddhadharma.
We need to be realistic as well. How good is your understanding of buddha dharma. If we just a baby who learn buddhadharma, may be we should refrain it because we won't have power to control our mind yet. But, once you feel you can control your mind, sometimes this kind of "bad" action can become your best teacher.
Buddha dharma is everywhere. In the beer, in the hell, in the tree, in everywhere.
If you are skillful, you will enrich you understanding and reach your own buddhahood.
If you are unskill, even reading buddha dharma can send you to the hell.
I am not here nor there.
I am not right nor wrong.
I do not exist neither non-exist.
I am not I nor non-I.
I am not in samsara nor nirvana.
To All Buddhas, I bow down for the teaching of emptiness. Thank You!