Reading a 4 Byte value from a sensor using KNX

Yes. Check this:

But in your case a mere JSTransform should work, like in the docs:

using something like:
https://www.openhab.org/addons/transformations/javascript/