as_pipeop function

Conversion to mlr3pipelines PipeOp