It is not permissible to fast for deceased people unless they had an obligatory fast that they didn’t make up which you know for sure.
Kindly refer to the following link(s):
Making up missed fasts for deceased Parents
Ruling on making up fasts on behalf of a deceased person who did not fast, with or without an excuse
Making up fasts on behalf of the deceased