No, it’s not a good idea to do that. Because a filter designed to work in a 10 gallon tank will not be able to clean the water properly if it’s used in a 20 gallon tank. As a result, the whole tank condition and fish health will deteriorate. So, it’s best to use the rated filter according to the tank size.