Master eligible nodes using same datapath

Hi,

I am trying to setup a 3 master eligible node cluster using the setting;

node.master: true
node.data: true

is it ok if I use same location path.data for all these nodes and by setting node.max_local_storage_nodes: 3 ?

Thanks