magnetic base for indoor cameras?

Can the indoor camera’s base be made magnetic so it is easier to place it without drilling holes?

If its possible, you can tape a magnet strip on the camera.