Hi,
you could make it like this (only list it in the box and then you can still create it afterwards)
@startuml
box B1
participant Alice order 10
participant Bob order 20
' add it here <----------------
participant Bob1 order 19
end box
box B2
participant Coco order 30
participant David order 40
end box
Alice -> Bob: hello
Bob -> Coco: hello
Coco -> David : hello
return hi
Coco -->Bob:hi
' you can create it here <----------------
create Bob1
Bob->Bob1:new
@enduml
BR Helmut