I considered fitting magnets in 3x3x3 cubes back in the 80's, inspired by the ball-bearing click action of the pyraminx.
I never pursued it, it was just the idle thoughts of an engineer. I was obviously contemplating using ferrite magnets. The rare-earth ones were expensive and hard to obtain, the only ones I had seen at the time were in the earpieces of headphones. I was thinking of fitting them in just the edge pieces, and having steel plates in all 4 sides of the centre-pieces. I didn't want to fit them in the corners, as back then corner-pieces were sealed up, the final face was superglued on.
It's interesting to see what's been done with the current magnetic cubes. If you haven't already seen it, here's one 'homebrew' attempt:
http://kzcubereview.blogspot.co.uk/2016/09/the-diy-magnetic-gts-and-tutorial.html