Yes you can if the house edge is positive but your example doesnt exist in the world of gambling
Yes it does.
You can have the edge playing directly against the house - in the sport betting. The house operates with 3-5% margin there, but if your knowledge about sport/team/players is superior - its possible to have an edge in the longrun
Another example is poker, but there you are not directly playing against the house, house always wins there because it just takes the rake %. But you can still get a profit from weaker players.
Thats the reason why there are professional poker players and professional handicappers, but no "professional" dice players.