You can represent yourself but I believe there is a saying " only fools represent themselves". Attorneys are expensive. An attorney can help you through understanding a contract but they do not understand the market nor do they know the market.
The seller has already agreed to pay his agent a commission and the seller is obligated to pay his agent a commission under the listing agreement. The sellers agent has already agreed to share his commission with a buyers agent so you the buyer get FREE representation. If you choose to represent yourself the sellers agent gets the full commission and will have a huge smile at closing but you the buyer will not know if you got the best deal or if you missed something important that would protect you. That is a win-lose... you lose and the seller wins along with his agent. Use a FREE buyers agent and have peace of mind. You will have a smile, your agent will have a smile, the seller will have a smile, and the sellers agent will have a smile. Now that is a win-win!
A few notes:
An unlicensed person cannot receive a commission or be paid a referral fee from a licensed agent.
All monies exchanged between a buyer and seller must be on the settlement statement or it could be considered mortgage fraud. It is illegal.