Generally, no, you shouldn't re-toast store-bought ground spices. They have already been processed and toasting them again can easily burn them, resulting in a bitter flavor.
Store-bought ground spices undergo a process that often includes toasting before being ground. This toasting helps to release their essential oils and enhance their flavor. Re-toasting these spices can lead to over-extraction of these oils, causing them to degrade and develop a burnt, acrid taste. Furthermore, the fine particles of ground spices are much more susceptible to burning than whole spices. If you feel the spices have lost some potency, consider buying smaller quantities more frequently to ensure freshness. If you absolutely must toast them, do so very briefly and with extreme caution, constantly monitoring them to prevent burning.
To test the freshness of your ground spices, rub a small amount between your fingers. If the aroma is weak or non-existent, it's likely time to replace them.