You say you spent a month texting him and telling him of your feelings. You don't say if he replied to any of your messages. If someone I wasn't interested in did that to me, I would think he was a stalker. Perhaps he reported you and that's why you were placed in an institution? In many countries this sort of thing happens.
The flag on your profile says Barbados, so I assume you are from there. Right now, same-sex is illegal in Barbados, and the culture not very understanding. So it sounds like you got away relatively easily - it could have been much worse. And it's good he is open-minded enough to be your friend.
It's fine to be his friend, but don't expect much of anything else. It's too bad you're in love with him, as it will only end in disappointment for you. If he is OK with hearing about how you feel, tell him, but realize that if he ever turns against you, he could cause a lot of problems. I would recommend telling him once, and leaving it at that; nothing is more annoying than hearing that sort of thing over and over again. You don't want him to feel you are pressuring him, especially since you are older than he. Be very careful and discreet.
I would never tell anyone to deny who they are, but I would advise you, if you are in Barbados, to be very careful. Take this from someone who has lived for many years in several countries where homosexuality is illegal and culturally taboo, and has seen some pretty bad things happen to people.
However, if you are, say, a Barbadian (is that the proper word?) living in the West, like the UK or Canada, I would tell you to go for it, but advise you not to make yourself a pest.
Good luck.