> A lot of what makes real (UL/ETL listed) chargers expensive is making sure that line voltage stays adequately separated from the low voltage side.
Even a very cheap and simplified design can do that. I wouldn't say "a lot" at all, maybe a few percent of the cost at most. It's a corner that could possibly be cut, but it's not one of the bigger corners.