you can spray them on but itll look a mess on the inner wheel as itll still be silver, you aint gonna be able to clean the brake dust off or anything so itll just be a very poor paint job.
tyres are no problem, no need to take them off really, just mask them up.
you should drop the wheels off though tbh or itll look poo