Is it possible to put a satellite into an orbit by firing it from a huge canon?

This can be possible only if we can ignore air friction and technical difficulties.