He has now, as a matter of pride and fun, I think, became invilved in drag shows.
Does the underlined part mean because of pride and fun? I know idioms like as a matter of fact and as a matter of form, but this usage is totally beyond my knowledge. I've never seen it used this way.