ANSWER:
This is something only you can answer.
If you do something so that people may praise you, this is showing off which is totally prohibited.
If you want others to be inspired by you, this is permissible but you must be very careful as Satan is always on our back and would make you get Riya in no time, so you must check your intentions and keep renewing it.