Yes, absolutely. That can be done using the global state (i.e. calling rand() or random()), or is probably better done by pulling from the system entropy pool (via /dev/urandom on Linux).
But your point is well taken. People doing serious Monte Carlo simulations should probably use a more sophisticated RNG.