You can use it, but I would leave it in the garage. Plum an air line, using metal pipe of some sort, to where You model at. You will need a moisture trap,and away to adjust pressure at Your workbench so You do not have to run back and forth. A good pressure gauge so you know how much You are spraying at.
Or buy a new compressor that has all that in one unit, and is made for airbrushing.
I use a 5 gallon portable compressor at this time. I added a Moisture trap, and use the pressure adjustment that came with it to set air pressure for spraying. As I am using an old airbrush that is a siphon feed, it takes way more pressure to draw the paint. When I get the Krome, I will have to add better air control, pressure gauge. Since I have a 1000 square foot Man cave, I can put up with the noise it makes recharging the tank, as a 5 gallon tank takes a long time to drain before the compressor starts.
In the end there are lots of ways to set up an air supply system for Your airbrush.
Hope My 2 cents worth helps.
Greg