Yes, very good idea.
I have started formatting my cards with my camera instead of deleting the photos from the card with the computer.
I format my memory cards often. According to Canon, you get top performance shooting video and in continuous (burst) mode when doing a low level format. I realize not every camera offers a low level format option, so a regular format is fine.
The only time I erase is if I need to make more space on the memory card when there are images I don't want deleted. I use the "protect" menu to protect those images I want to keep. When I erase, everything is gone except the protected images.
If I have lots of images on my card and don't have the time to protect individual photos (or don't want to run down the battery), I just erase those I know are bad to quickly free up space.