Using JSON formatting, is it possible to hide a column based on another column value.

Example:  

View displays columns A, B, C and D  

View is limited to one row  

If the value in column D equals Yes, don't display column A. 

Edit - SP Online modern site is being used.