An expert in the field would appear to disagree:
Dr F: "the best vaccination is to get infected"
https://www.c-span.org/clip/washington-journal/user-clip-pre...
(00:50)
> however there were several strains and getting boosters to maximise resistance was important
Our family doctor said the opposite: "your antibody count is so high [from recent infection] there is no point you having a vaccine/booster".
<shrug> I listened to Dr F (2004) and to our family doctor. YMMV.