Yes - many years ago when I lived and worked in South Asia, it was common knowledge that swishing a lump of alum around in your bucket of dirty water would help to settle the sediment.
Obviously it doesn't provide total purity, but it was a lot better than doing nothing.
Apparently even the ancient Egyptians knew about this: https://en.wikipedia.org/wiki/Potassium_alum#In_antiquity