Yes you are allow to do this. I have a revenue sharing blog which let user put their code at my forum running for 2 year + without any problem