It is your right to apply, and the patent office has the final say whether to authorize it or not.
In response to your question, applying for a patent with someone else's paper is obviously made public before your application date.
If you can make further innovations in his technology, you can certainly authorize it.
The key is to carefully analyze the paper and your invention.