I guess in Raku you would create a Boat role, and you would create a clone of a House instance with the Boat role mixed in, when needed.
In Raku speak:
my $house = House.new;
my $houseboat = $house but Boat;
See: https://docs.raku.org/routine/butThere would be no need to de-compose.