The answer is no. When TeX finds an end-of-record signal (as determined by the operating system) it throws away whatever remains on the input line and inserts the (character code, category code) pair determined by the value of
\endlinechar into the input stream and reads it.
The value of
\endlinechar is usually 13 (
^^M) which (usually) corresponds to a character with category code 5. This enables the process by which TeX can recognize an empty line, inserting a
An explicit category code 5 character in the input stream has the precedence over the end-of-record signal; so, when TeX finds
^^M has category code 5, the
b is thrown away. If
^^M has another category code, it is read and digested or stored as such.
All you can do is to write multiple records in a file:
or, with an e-TeX engine such as
which is equivalent to what done before.
Note: the current TeX engines are able to distinguish among different end-of-record signals, overriding the operating system; but once the end-of-record signal type is decided (by examining the beginning of the input file), that signal is used throughout the file. But this really has no consequence on what said before, because the operating system signal or the one determined at runtime are discarded anyway.