Yes, beer was mostly drank warm when it was invented centuries ago, but cold beer took over the market after the invention and development of refrigeration systems. Warm beer allows the person to fully enjoy the taste of the beer, including its subtle flavors.
However, warm beer can be difficult to drink especially if it is of low quality and extremely bitter.