Tablet Laptop

My question is, if I bought a tablet laptop can I hook it up a desktop computer and use it as a regular tablet? This way I can do my photoshop on the laptop and on the desktop.