Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
It should be possible, but be careful not to let it update too often because Vim's status bar updates...a lot. You could easily bog Vim down trying to keep that information current.
statusline
might be what you want. Explained and discussed in a similar Reddit thread here.