To some degree, they can. Some gaming software providers do allow online casinos to change the games’ payout rates, but not to a great extent. UK Gambling Commission regulations have made it compulsory that all casinos must display their games’ RTP values. You can check each game’s RTP in the game’s interface itself.