Yes, you can. Look for a house with a sign outside indicating it's for sale, then approach it to make your purchase.
If a house doesn't have a sale sign, you can sometimes force the issue by dealing with the current owners yourself, though the game leaves the method up to you.