From Paras Chopra's Blog : https://invertedpassion.com/to-get-good-startup-ideas-look-for-anomalies/
One of the most effective ways to find ideas is studying anomalies. Looking for behaviors that are happening that should't be happening. A simple way to spot anomalies in any market is focusing on the consumers who're great at hacking their way around things. When people are finding ways to create efficiency in a way that isn't supposed to happen with the inefficient solution, it is likely there exists a gap. It is your job then to make that efficient solution into a product that works for the masses.
One very important component of the whole process is to keep in mind that you're chasing market-product fit. In essence, understanding the motivation and needs of your user well before building the product. Products formed on insights are much more likely to succeed because they have a genuine distinct purpose to exist.

But, you cannot just ask people what they think is inefficient or compensatory and expect to land on goldmines. Because usually when people know that something they're using is inefficient, they're well inclined to move to a better position. The reason they're not doing it is either
they don't have an option
the problem dosen't affect them too much
they're not aware of better possible solutions
The trick in finding behaviors that pave opportunities is to pick the right anomalies. After finding such anomalies, it is important to get into the 'why' element of the behavior. What is driving this behavior?, If X would happen, would it continue ? Knowing the why(insight) allows you to design the how(method) and what(solution) that are extremely efficient and appealing. They may infringe the status-quo, and this is a sign that you've landed on something that's unique and differentiated. You may still fail, but it increases the odds of finding a problem worth solving. Making sure the solution aligns well with a strong business model is often a good way to filter anomalies that don't hold any economic value.