Led Cube Randomizer

What I'm trying to do is have an led cube(3x3) activated by a button push, and said button push would randomly choose a sequence that is in the code. Would this be possible?

yes,

check the functions random() and randomSeed()

The randomSeed() could be seeded with the micros() since startup or since last press of the button.