Messages: Online status or Last seen time
Solution 1:
No. Messages (formerly iMessage) doesn't have any of these features.
Since the feature is not available, there is no way to obtain either of the information by any means.
However, delivery time and read receipt with time (if enabled by the recipient) feature is available in Messages and is shown just below the message bubble.