Yes, it is not prohibited to get a tattoo per se.
The rulings of the jurist vary when it comes to matam, some say it is allowed and some say no. Sayyid Sistani has not ruled on it. You should follow your marj’a.
I imagine if matam were to cause severe harm, that was irreparable, then it might become haram