Yes, it was common for them to live in Mexico. In fact, some still do travel indifferently between the border to this day. Most were fought by federal troops until they were granted land in the mid 19th century, but there were also well-known campaigns against them, namely the Yaqui tribe being constantly sent to crop fields in Yucatán during Porfirio Díaz's regime.