Absolutely.
A full UDP listener in Python is less than 20 lines of real code. Writing the packets received to a Channels layer is also easy.
Writing this connector between your UDP source and a Django Channels consumer should be less than 50 lines.
See these threads for some ideas:
- my first websocket
- Using background tasks in Django, but how exactly?
- Django iot data streaming into app
- How to integrate GPIO input into django?
If you still have questions after, we’ll still be here.