I'm not sure. It could be based on real events or completely fictional. You'd have to look into the background and author's intentions to know for sure.
An 'albert candy fanfic' is likely a piece of fan - created fictional writing related to a character named Albert and perhaps something to do with candy. It could be a story where Albert has an adventure involving candy, or maybe it's a more creative take on Albert's relationship with candy in a fictional universe.
Little Albert was a famous case study in psychology. It involved conditioning a child to fear a white rat. The experiment aimed to show how fears could be learned.
Another way to develop Albert is to give him a personal goal or dream. It could be something as simple as wanting to win a local talent show. As he pursues this goal, we can see his determination, his insecurities, and how he overcomes obstacles. This would make him a more rounded and interesting character in the fanfiction.