I believe the OH DateTime type Item is clever enough to accept Epoch integer as an update directly, and guess whether its a seconds- or milliseconds-style value.
The problem you might run into is that this contains no timezone info, and will be assumed to UTC.