Steam games can be (legally) modded just like any other games. The only difference is that steam games are stored on a cloud and can be accessed from any computer that has steam and a log in account.