No, it could not be considered valid in that form. (Per the current teaching of the church). Valid baptism (per the Catholic Church) requires use of water and the Trinitarian form.
From the Catechism:
1239 The essential rite of the sacrament follows: Baptism properly speaking. It signifies and actually brings about death to sin and entry into the life of the Most Holy Trinity through configuration to the Paschal mystery of Christ. Baptism is performed in the most expressive way by triple immersion in the baptismal water. However, from ancient times it has also been able to be conferred by pouring the water three times over the candidate's head.
CCC 1240 In the Latin Church this triple infusion is accompanied by the
minister's words: "N., I baptize you in the name of the Father, and of
the Son, and of the Holy Spirit." In the Eastern liturgies the
catechumen turns toward the East and the priest says: "The servant of
God, N., is baptized in the name of the Father, and of the Son, and of
the Holy Spirit." At the invocation of each person of the Most Holy
Trinity, the priest immerses the candidate in the water and raises him
up again.
The shorthand for the above is "use of the Trinitarian form and water."
CCC 1271 Baptism constitutes the foundation of communion among all
Christians, including those who are not yet in full communion with the
Catholic Church: "For men who believe in Christ and have been properly
baptized are put in some, though imperfect, communion with the
Catholic Church. Justified by faith in Baptism, [they] are
incorporated into Christ; they therefore have a right to be called
Christians, and with good reason are accepted as brothers by the
children of the Catholic Church. Baptism therefore constitutes the
sacramental bond of unity existing among all who through it are
reborn."
That is a kinder statement than the one from the Council of Trent some centuries ago, which you can find at this link, in a summary from a ruling by The Congregation for the Doctrine of the Faith:
The Council of Trent, confirming this tradition, defined that Baptism
administered by heretics in the name of the Father, the Son and the
Holy Spirit, with the intention of doing what the Catholic Church does
is true Baptism (cf. DH 1617).
Without all three, and the use of water, the test for validity is not met.
The Code of Canon Law requires that the baptizing official determine whether or not a previous baptism was valid before baptizing someone. If a person had a valid baptism, a second one will not be administered. (Per the Nicene Creed "I confess one baptism for the forgiveness of sins ... ").
(Canon 864)Every person not yet baptized and only such a person is able to be baptized.
Canon Law further states:
Canon 869 §2. Those baptized in a non-Catholic ecclesial community
must not be baptized conditionally unless, after an examination of the
matter and the form of the words used in the conferral of baptism and
a consideration of the intention of the baptized adult and the
minister of the baptism, a serious reason exists to doubt the validity
of the baptism.
The test of correct matter and form in your question is easily discerned: if it lacks the proper matter and form of water and the Trinity, it does not meet the test of validity in the eyes of the Roman Catholic Church.
An example mentioned in this question, and included in the previous link shows the detailed treatment given to establish validity or not (example being a Mormon Church).
The conclusion is that the rite/sacrament must meet the test of validity, or it will be held invalid by the Catholic Church:
Summing up, we can say: The Baptism of the Catholic Church and that of
the Church of Jesus Christ of Latter-day Saints differ essentially,
both for what concerns faith in the Father, Son and Holy Spirit, in
whose name Baptism is conferred, and for what concerns the
relationship to Christ who instituted it. As a result of all this, it
is understood that the Catholic Church has to consider invalid, that
is to say, cannot consider true Baptism, the rite given that name by
the Church of Jesus Christ of Latterday Saints.