it should be possible to create a repeatable sequence of pseudo-random numbers based on the same seed being used. This does not seem to work on ESP32. Poking around, it looks like it is implemented ...
Using xorshift* function with 32bit integer values produces random numbers and uses seed from sensors and micros() function. The use of sensor values as seed is done by xoring all the values you want ...