Would it be necessary to cover the whole surface of a planet?
it is fairly easy to create very very intense fields in a limited region the earth field is quite small but the physical size is huge so it would take enormous amounts of electric current all magnetism is due to electric charge in motion