Can we have master and ingest nodes set true on same nodes

we have huge data and cluster size is increasing we are planning to move it to 10 node cluster .so is it good to keep 3 master node and 1 ingest node and rest as data nodes.Let me know your opinion

Thanks