You sure can! Unlike some other components, a PC case is not an essential part of your system.
A PC case does add benefits in the form of protection and added structural integrity, but you can use your PC completely fine without it (assuming you know how to turn it on, that is).