I'm looking for recs on histrorical dramas where  BOTH ML  and FL  (or at least FL) are deciteful, not hesitate to scheme, to use dirty tricks, betray, lie, cheat or even sacrifice someone  etc to achive their goals. I'm not saying they must be completely bad people... just mabe  not  very noble and rightous.

The Story of Minglan. Technically they are pretty noble and righteous, but they’re 100% 24/7 schemers. I really think Minglan & Gu Tingye are unbeatable in this sense lol.

For pretty much all of these, the FL (or the ML and FL) is generally trying to achieve an outcome that she thinks (or they think) is righteous (or at least fair), and they're not too worried about lying, deceiving, or scheming along the way in order to get there:

The FL gets to a point where she is not interested in doing what is "right" according to hypocrites who currently have power:

Thanks for all the recs! I see I will finally need to check Love like the Galaxy ;))

 Saygo:
Dong Lan Xue

just watched it! it's  so silly but cute :)  Exactly the pair of schemers I was looking for :))

+1 Story Of Ming Lan without a doubt.