dnf only removes files and directories owned by a package, and according to the packaging guidelines linked above, Fedora packages cannot put files and directories to the user’s home directory at the installation time (the program itself can create files and directories in there after it is launched by the user, but those files and directories are not owned by the package). So in short: no, dnf does not touch user’s home directories, you need to clean it yourself.