Yes, a suit can be dismissed for improper service, but it is only a "dismissal without prejudice"--that is, the party suing you can simply re-file the suit and re-serve you. Also, generally leaving papers with an adult of suitable discretion at a residence would be good service, so if service was accepted by someone working at your home, it probably was valid.