No they climb up legs unless you spread diatomaceous earth around them or in something they are lifted onto/into or some other trick I read by a poster.
The legs of a bed might be a good place to set them in dishes of the diatomaceous earth.
Assuming the bed itself has been rid of the bugs, or at least its mattresses encased in something bugproof.
These pestilences can be a real trial.