I've had that done at home. I went to the hospital for a PICC line to be put in. Then the VNA (visiting nurses) came by with the IV pump and their pharmacy came with the IV antibiotic.
I was taught how to hook it up so the medicine would be infused and the RN would come every other day to change the dressing around the PICC line.
The VNA did give me a number to call in case there was a machine malfunction or I couldn't flush out my IV line which happened only once.
I liked it because I was at home, I covered up the PICC with an old sock to protect it, and I wasn't in the hospital catching germs, dealing with a roommate, and I wasn't' woken up every hour for blood work or temp and BP.
It's cheaper for the insurance company because they aren't paying for the hospital room, the RN, the MD, blood work, etc.
I hate hospitals and unless it's life or death, I prefer being treated at home as an outpatient. All of the doctors on my medical team know this and are doing everything they can to keep it that way.