The pertinent rules here are:
3c) Competitors must use any colour scheme for cube puzzles, as long as the puzzles show one colour per face in solved state. For other puzzles competitors must use any variation that has the same moves, positions and solutions as the original puzzle.
3h) No modifications are allowed that enhance the basic concept of a puzzle. Some examples of enhancing the basic concept are: new moves are possible, normal moves are impossible, more pieces are visible, colours on the backside of the puzzle are visible, moves are done automatically, more or other solved states.
3k) Puzzles must be approved by a judge before the competitor competes.
Basically the idea is that you can use any kind of Magic you want, as long as the moves are the same, and you can clearly tell what the unsolved and solved states are. Since yours is custom, if I were you I would probably show it to the competition organizer and/or WCA delegate and make sure they think it's okay. I would think as long as the unsolved and solved states are clear, and it works like a normal Magic, it should be allowed.