Embedding a CoAP server in openhab?

@David_Graeff
I’m modeling my design off your MQTT design

An instance of a CoAP server will be represented by a Bridge Thing
A CoAP device will be Thing associated with a CoAP Bridge thing
Support an OH embedded Californium server as a CoAP Bridge.

The MQTT binding is dependent on a OH core bundle, org.openhab.core.io.transport.mqtt.
Is this a legacy of OH 1 MQTT binding? Can CoAP be completely implemented in the add on binding?