Edutainment means shows that blend an entertaining story with educational material. For example, The Magic School Bus tells stories while also teaching about science.
There are educational shows for adults, they’re usually called documentaries. But any that blend educational material with fiction? I guess an argument can be made that biographical films fall into this category but they usually take creative liberties and aren’t fully historically accurate. An argument can also be made for medical dramas and legal dramas, but I’m not sure how accurate the medical and legal information in them is. Of course, The Magic School Bus also takes creative liberties and has inaccurate science, but there’s always a segment at the end explaining where they took creative liberties.
How I Met Your Mother kind of had the vibe of a kids show that teaches moral lessons, but for adults. Edit for clarity: the reason I bring this up is I consider “moral of the week” a genre closely related to edutainment but not quite the same thing
Edit: now that I’m thinking about it, I guess Jeopardy and other trivia based game shows could qualify as edutainment. They’re not fictional, but they do blend entertainment and education


In each episode, the narrator attempted to instill some kind of moral to his children. I’m not saying it did a good job, I’m just saying that seemed to be the intent. Or perhaps they were trying to parody shows with moral lessons
The show is extremely immoral, no consistency (which is also necessary for morals to work in a show), and shows immoral characters positively (that’s why people love Barney for example even though the guy should at least be in jail).
So while The Good Place is a working recommendation that someone else made (that still has a LOT of flaws but at least try to add some concepts of morality, philosophy, etc), HIMYM does the opposite of that by refusing to ever think about moral issues of what is going on.
So my point is, if HIMYM seemed like a moral-teaching show to you, most shows will be, but that’s not positive.
If you want shows that try to talk about morals, you can look at the (old) star trek. I would say the least bad for that would be TNG and VOY, but they still need to be taken with a grain of salt.
Doctor Who also can work, if you want something a bit more on the horror/thriller/mystery side, but also needs a grain of salt and some critical thinking.
Science fiction in general tries to talk about philosophical subjects, while being entertaining, but a lot of what is seen as science fiction is just action movies in space.