Yes, under the Indian Contract Act, 1872, a 'stranger to consideration' can enforce a contract, provided they are a party to the contract. This is a significant difference from English law. Section 2(d) of the Indian Contract Act defines consideration as something done "by the promisee or any other person" at the desire of the promisor. This wording explicitly allows consideration to move from a third party, not necessarily the promisee.
However, it is crucial to distinguish this from the doctrine of 'privity of contract'. While a stranger to consideration can sue, a 'stranger to the contract' generally cannot. This means that the person enforcing the contract must still be a party to the agreement itself, even if the consideration for that agreement was furnished by someone else. The leading case illustrating this point is Chinnaya v. Ramaya, where it was held that a person who was a stranger to the consideration could sue because they were a party to the contract.