Yes and no
The anus is not made for sex
, it does not produce any natural lubrication.
So if your going to try it, then you need plenty of high quality artificial lube (astroglide or pjur), go slow, be gentle and if it hurts, stop. Also the anus is very susceptible to catching stds, so make sure your partner does not have any.