It's a common problem at large trail races. Enough so that it's one of the two things usually explicitly called out in the race briefings (the other is a reminder to not take ibuprofen).
Like water it’s fine until you’re swallowing pill after pill.
Also, tendon injury/tendonitis seems linked to ibuprofen use. It may delay other kinds of healing (bone fractures, etc)