Boggarts would be a mob that spawn semi-rarely (maybe about 10-20% of the time) in planets that seems fit (with the boggart mob). What they would do is transform when you get near to them into the mob that has killed you the most but with less damage and health. Like the idea? Like and comment. Don't like it? Provide feeback but no insults Taaankk you! Bye!
There are different variations of "what a boggart is". So, I don't know. You may be right. I always thought of it as a harmless thing until you got close to it and pissed it off, then it would transform and try to kill you!
This is based of the Harry Potter version of a boggart, where the boggart takes the form of what you fear most.