They're actually done in the field by paramedics if we can't get IV access. But it requires a drill or a thick metal catheter needle (I think it's a 14g) that is forcefully jammed and twisted into the bone (generally the shin right below the knee). You aren't going to jam a needle into bone by accident
IDK that IO (intraosseous) lines are done much in-hospital, since ER docs generally go for a jugular vein in a pinch.