Is it possible to drape a custom object to another custom object?

image

Like this?