英語で調べると台湾の実験結果はかなりヒットする
しかし、まだエビデンスが足りないので更なる調査が必要

Recently, however, new research has indicated that pineapple may minimize floaters. A study from Taiwan found a 70% decrease in floaters among participants who consumed pineapple daily for three months. Researchers attribute the treatment’s success to the enzyme “bromelain” which is found in pineapple. They believe that the bromelain dissolves the collagen that creates floaters.
Like any study, the research has its flaws, and more studies will need to be conducted.