Would it be possible to disable individual modifier keys in apps with BTT?

For Instance, in Obsidian I have a command that uses the opt key and the < arrow, and sometimes I accidentally hit < and the right opt key. I would like it so if I press the right opt key (and the right CMD key) in Obsidian that it does nothing. Its not possible to set this in the app itself.