Looking at the data sheets, it seems to me that there are two significant differences between the BAV199 and a pair of 1N4148:
- The BAV199 diodes have a reverse leakage current of only 5nA, as opposed to 25nA for the 1N4148.
- The two diodes in a BAV199 will be very closely matched, and thermally coupled, so will have almost identical characteristics.
So if either of these characteristics are important in the circuit, then not a good idea to substitute.
If, however, the BAV199 is used just because it is a convenient small package for two diodes, then probably OK. The voltage and power ratings of the 1N4148 should be adequate.