Hydraulic roller lifter to solid conversion

Hummmmm, OK, presuming it is machines to fit tight, you machine it to a set height, how about the oil? Would/could it be possible that it may float the slug?
What retains it in?

I guess it could be done.