Just anecdotally, I had a pet rat as a kid. They're pretty friendly creatures who seem to enjoy company and playtime. Not sure what constitutes "bad for the rats", but I personally think a situation where they're getting food, safety and stimulation would not fit into that category.