Yes, that's fine. The bed provides cover for the ankheg and Marius provides cover for the bed (if you do it from his side, doing it from the other side risks hitting him with the flying bed), which has some low-to-moderate CMD, which I will determine if you roll poorly enough.