I’m sure historically Presidential health issues have been covered up before, but it was a lot easier to keep a secret back then.
Woodrow Wilson had a stroke in 1919, and became incapacitated due to it. It was covered up for a few months. Some say that Reagan was already suffering from some mental decline in the latter years of his presidency.