No, you do not need a mat to play poker, but for beginners to the game, it helps.
A poker mat is a simple and cheap additional way to provide structure to your games and is typically available in basic poker felt. You can get them in a variety of play modes, and they last a long time.
So while not necessary, if you are new to poker they are an investment you should consider.