Having a few drinks is perfectly acceptable; the emphasis on Shinkansen trains is quiet stress-free travel (even loud mobile phone conversations aren't allowed). BUT, do not become intoxicated (i.e. drunk) on board (or any other public space in Japan) to the point of being loud/obnoxious/rude/physically violent etc.