No, there is no direct relation between an atom's mass and the charge on its nucleus. The mass of an atom is primarily determined by the combined masses of its protons, neutrons, and electrons. The protons and neutrons, which are collectively referred to as nucleons, contribute to the majority of the atom's mass, while electrons have a negligible mass in comparison.
On the other hand, the charge on an atom's nucleus is determined by the number of protons it contains. Protons have a positive charge, while electrons carry a negative charge. The overall charge of an atom is neutral because the number of electrons is equal to the number of protons, balancing out the charges.
It's worth noting that the number of protons in an atom, also known as its atomic number, determines the element to which it belongs. The mass number of an atom, which is the sum of protons and neutrons, can vary within an element due to different isotopes that have the same atomic number but different numbers of neutrons.