If you are sharing with a better player it's a +EV move.
If you are sharing with a worse player it's a -EV move.
If you are doing it to be sociable with a friend, as long as you find it fulfilling in some way it's a fine move.
I should also note, the likelihood of your partner not paying has a direct effect on the value of this deal as well.
If your goal is to build a bankroll then, all friendships aside, you should be doing whatever has the best expected value
That is, if building a bankroll was paramount I would not make this deal with people who play inferior poker. But if a better tournament player than myself (like Snowmobiler) offered the deal I'd accept it in a heartbeat.