Sandbox universe type simulations in blender

Hello everyone i was just watching videos on youtube and saw a program called " Universe sandbox " and was wondering if blender could be used in the same way using force fields to say create a black hole and then have it suck in planets in the same way Like real life simulator.

love to hear people thoughts on this.