Yes. It's just another drive.
Primarily, you just have to worry about the physical mounting. Most modern cases have mount spaces for 2.5" drives. If not, you can get a mount tray.
I have one PC, with an ex-laptop drive, held in place with wire ties. Been there for 18 months in daily use.