Yes and not. There are two problems with this approach, which people all over Internet-land suggest using instead of commercial rinse aid. If you put it in the dishwasher, it shouldn't be in the rinse-aid dispenser. To melt the rubber gasket in the rinse-aid dispensers, you need a strong acid.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.